package com.flyco.modules.oms.vo;

import java.util.List;
import com.flyco.modules.oms.entity.OmsOrderBlack;
import com.flyco.modules.oms.entity.OmsOrderBlackArea;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 禁止下单表
 * @Author: flyco
 * @Date:   2021-01-14
 * @Version: V1.0
 */
@Data
@ApiModel(value="oms_order_blackPage对象", description="禁止下单表")
public class OmsOrderBlackPage {

	/**id*/
	private Long id;
	/**标题*/
  	@Excel(name = "标题", width = 15)
	private String title;
	/**提示内容*/
  	@Excel(name = "提示内容", width = 15)
	private Object content;
	/**生效时间*/
  	@Excel(name = "生效时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date startTime;
	/**失效时间*/
  	@Excel(name = "失效时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date endTime;
	/**删除状态：0->未删除；1->已删除*/
  	@Excel(name = "删除状态：0->未删除；1->已删除", width = 15)
	private Integer cancelFlag;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="禁止下单区域表")
	@ApiModelProperty(value = "禁止下单区域表")
	private List<OmsOrderBlackArea> omsOrderBlackAreaList;
	
}
